package com.rabbiter.association.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;

/**
 * 数据实体类
 * 申请记录
 */
@Data
@TableName(value = "apply_logs")
public class ApplyLogs implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @TableId(value = "id")
    private String id;

    /**
     * 处理状态
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 申请时间
     */
    @TableField(value = "create_time")
    private String createTime;

    /**
     * 申请社团
     */
    @TableField(value = "team_id")
    private String teamId;

    /**
     * 申请用户
     */
    @TableField(value = "user_id")
    private String userId;

    @TableField(exist = false)
    private String token;

    @Override
    public String toString() {

        return "ApplyLogs [id=" + id
                + ", status=" + status
                + ", createTime=" + createTime
                + ", teamId=" + teamId
                + ", userId=" + userId
                + "]";
    }

}